package io.renren.modules.haiyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author Freeman Liu
 * @email llw599502537@gmail.com
 * @date 2020-11-01 15:27:37
 */
@Data
@TableName("tb_goods")
public class Goods implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.INPUT)
	private String id;
	/**
	 * 商品名称
	 */
	private String name;
	/**
	 * 
	 */
	private String description;
	/**
	 * 
	 */
	private Double price;
	/**
	 * 
	 */
	private String userId;
	/**
	 * 
	 */
	private Date addTime;
	/**
	 *
	 */
	private Integer follower;
	/**
	 * 当前商品状态
	 */
	private Integer state;
	/**
	 * 热度
	 */
	private Integer hot;
	/**
	 * 当前商品的所有图片id用;隔开
	 */
	private String picId;

}
